<template>
	<view class="video">
		 <video id="myVideo" :src="detail.url"
                    :autoplay="true"></video>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				detail: {}
			}
		},
		onLoad(event) {
			try {
				this.detail = JSON.parse(decodeURIComponent(event.detailDate));
			} catch (error) {
				this.detail = JSON.parse(event.detailDate);
			}
		}
	}
</script>

<style>
	
	video{
		width: 750upx;
	}
</style>
